<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Практика: Исходный файл /home/student/Desktops/Desktop1/doxy/project/include/ghmodel.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Практика
   </div>
   <div id="projectbrief">Приложение - описание классов</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Создано системой Doxygen 1.8.20 -->
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('_desktops_2_desktop1_2doxy_2project_2include_2ghmodel_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">ghmodel.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_desktops_2_desktop1_2doxy_2project_2include_2ghmodel_8h.html">См. документацию.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef GHMODEL_H</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define GHMODEL_H</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160; </div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_desktops_2_desktop1_2doxy_2project_2include_2boofergh_8h.html">boofergh.h</a>&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &lt;QtGui&gt;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &quot;QAbstractTableModel&quot;</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160; </div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="keyword">class </span><a class="code" href="class_g_h_model.html">GHModel</a> : <span class="keyword">public</span> <a class="code" href="class_q_abstract_table_model.html">QAbstractTableModel</a></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;{</div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;    Q_OBJECT</div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160; </div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="class_g_h_model.html#a202dda5e22612fb141cbcd30c69417e7">   13</a></span>&#160;    <a class="code" href="class_g_h_model.html#a202dda5e22612fb141cbcd30c69417e7">GHModel</a>(<a class="code" href="class_boofer_g_h.html">BooferGH</a> *<a class="code" href="class_g_h_model.html#a96738a4b13c7d732e82d61295c9b4fb3">data</a>, QObject *parent = 0);</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;    <span class="comment">//~GHModel();</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="class_g_h_model.html#a80b7f89d0d7dd6bfe078c7aa13102757">   15</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_g_h_model.html#a80b7f89d0d7dd6bfe078c7aa13102757">rowCount</a>(<span class="keyword">const</span> QModelIndex&amp; parent=QModelIndex()) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="class_g_h_model.html#a216164b6463b89b27a49a117aa626793">   16</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_g_h_model.html#a216164b6463b89b27a49a117aa626793">columnCount</a>(<span class="keyword">const</span> QModelIndex&amp; parent=QModelIndex()) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="class_g_h_model.html#acddb2860fa3803c142e4dd64499061cb">   17</a></span>&#160;    QVariant <a class="code" href="class_g_h_model.html#acddb2860fa3803c142e4dd64499061cb">headerData</a>(<span class="keywordtype">int</span> section, Qt::Orientation orientation, <span class="keywordtype">int</span> role = Qt::DisplayRole) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="class_g_h_model.html#a4c7d107fd510dbbd8806e661a6d262a2">   18</a></span>&#160;    Qt::ItemFlags <a class="code" href="class_g_h_model.html#a4c7d107fd510dbbd8806e661a6d262a2">flags</a>(<span class="keyword">const</span> QModelIndex&amp; index) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="class_g_h_model.html#a96738a4b13c7d732e82d61295c9b4fb3">   19</a></span>&#160;    QVariant <a class="code" href="class_g_h_model.html#a96738a4b13c7d732e82d61295c9b4fb3">data</a>(<span class="keyword">const</span> QModelIndex &amp;index, <span class="keywordtype">int</span> role = Qt::DisplayRole) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="class_g_h_model.html#a36171e3ffe91d34433a7ecf183ae9b6b">   20</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_g_h_model.html#a36171e3ffe91d34433a7ecf183ae9b6b">setData</a>(<span class="keyword">const</span> QModelIndex&amp; index, <span class="keyword">const</span> QVariant&amp; value, <span class="keywordtype">int</span> role=Qt::EditRole);</div>
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="class_g_h_model.html#a77d68b247079423f2977d8c83be20c7b">   21</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_g_h_model.html#a77d68b247079423f2977d8c83be20c7b">insertRows</a>(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> count, <span class="keyword">const</span> QModelIndex&amp; parent=QModelIndex());</div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="class_g_h_model.html#a409b014c8e1eef5d2ff8eae8a716c7b5">   22</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_g_h_model.html#a409b014c8e1eef5d2ff8eae8a716c7b5">push_back_pair</a>(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, <span class="keyword">const</span> QModelIndex&amp; parent=QModelIndex());</div>
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="class_g_h_model.html#aa605317e7690ef97f23c3a7b58d033d5">   23</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_g_h_model.html#aa605317e7690ef97f23c3a7b58d033d5">removeRows</a>(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> count, <span class="keyword">const</span> QModelIndex&amp; parent=QModelIndex());</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160; </div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="class_g_h_model.html#a08aaf3279e8dff50674a06548fb99dc9">   25</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_g_h_model.html#a08aaf3279e8dff50674a06548fb99dc9">setHeader</a>(<span class="keyword">const</span> QStringList &amp;header);</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160; </div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    <a class="code" href="class_boofer_g_h.html">BooferGH</a> *<a class="code" href="class_g_h_model.html#ab03cd08daeffd4ca903a5b653058aae1">boofer</a>;</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    QStringList <a class="code" href="class_g_h_model.html#a9e47fdafa7fb4714f534b2a0b6291b01">m_header</a>;</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;};</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#endif // GHMODEL_H</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclass_g_h_model_html_a08aaf3279e8dff50674a06548fb99dc9"><div class="ttname"><a href="class_g_h_model.html#a08aaf3279e8dff50674a06548fb99dc9">GHModel::setHeader</a></div><div class="ttdeci">void setHeader(const QStringList &amp;header)</div></div>
<div class="ttc" id="aclass_boofer_g_h_html"><div class="ttname"><a href="class_boofer_g_h.html">BooferGH</a></div><div class="ttdoc">BooferGH - класс, хранящий данные ГХ в оперативной памяти программы (буфер)</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2include_2boofergh_8h_source.html#l00008">boofergh.h:9</a></div></div>
<div class="ttc" id="aclass_g_h_model_html_a36171e3ffe91d34433a7ecf183ae9b6b"><div class="ttname"><a href="class_g_h_model.html#a36171e3ffe91d34433a7ecf183ae9b6b">GHModel::setData</a></div><div class="ttdeci">bool setData(const QModelIndex &amp;index, const QVariant &amp;value, int role=Qt::EditRole)</div></div>
<div class="ttc" id="aclass_g_h_model_html_a96738a4b13c7d732e82d61295c9b4fb3"><div class="ttname"><a href="class_g_h_model.html#a96738a4b13c7d732e82d61295c9b4fb3">GHModel::data</a></div><div class="ttdeci">QVariant data(const QModelIndex &amp;index, int role=Qt::DisplayRole) const</div><div class="ttdoc">data возвращает содержимое элемента или его форматирование</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2_decode_g_h_2ghmodel_8cpp_source.html#l00048">ghmodel.cpp:48</a></div></div>
<div class="ttc" id="aclass_q_abstract_table_model_html"><div class="ttname"><a href="class_q_abstract_table_model.html">QAbstractTableModel</a></div></div>
<div class="ttc" id="aclass_g_h_model_html_a202dda5e22612fb141cbcd30c69417e7"><div class="ttname"><a href="class_g_h_model.html#a202dda5e22612fb141cbcd30c69417e7">GHModel::GHModel</a></div><div class="ttdeci">GHModel(BooferGH *data, QObject *parent=0)</div></div>
<div class="ttc" id="aclass_g_h_model_html_a216164b6463b89b27a49a117aa626793"><div class="ttname"><a href="class_g_h_model.html#a216164b6463b89b27a49a117aa626793">GHModel::columnCount</a></div><div class="ttdeci">int columnCount(const QModelIndex &amp;parent=QModelIndex()) const</div></div>
<div class="ttc" id="a_desktops_2_desktop1_2doxy_2project_2include_2boofergh_8h_html"><div class="ttname"><a href="_desktops_2_desktop1_2doxy_2project_2include_2boofergh_8h.html">boofergh.h</a></div></div>
<div class="ttc" id="aclass_g_h_model_html_aa605317e7690ef97f23c3a7b58d033d5"><div class="ttname"><a href="class_g_h_model.html#aa605317e7690ef97f23c3a7b58d033d5">GHModel::removeRows</a></div><div class="ttdeci">bool removeRows(int row, int count, const QModelIndex &amp;parent=QModelIndex())</div></div>
<div class="ttc" id="aclass_g_h_model_html_acddb2860fa3803c142e4dd64499061cb"><div class="ttname"><a href="class_g_h_model.html#acddb2860fa3803c142e4dd64499061cb">GHModel::headerData</a></div><div class="ttdeci">QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const</div></div>
<div class="ttc" id="aclass_g_h_model_html_a77d68b247079423f2977d8c83be20c7b"><div class="ttname"><a href="class_g_h_model.html#a77d68b247079423f2977d8c83be20c7b">GHModel::insertRows</a></div><div class="ttdeci">bool insertRows(int row, int count, const QModelIndex &amp;parent=QModelIndex())</div></div>
<div class="ttc" id="aclass_g_h_model_html"><div class="ttname"><a href="class_g_h_model.html">GHModel</a></div><div class="ttdoc">GHModel class отвечает за взаимо-однозначное соответствие данных ГХ, хранящихся в классе BooferGH и д...</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2include_2ghmodel_8h_source.html#l00011">ghmodel.h:12</a></div></div>
<div class="ttc" id="aclass_g_h_model_html_ab03cd08daeffd4ca903a5b653058aae1"><div class="ttname"><a href="class_g_h_model.html#ab03cd08daeffd4ca903a5b653058aae1">GHModel::boofer</a></div><div class="ttdeci">BooferGH * boofer</div><div class="ttdoc">класс для хранения данных модели</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2include_2ghmodel_8h_source.html#l00099">ghmodel.h:99</a></div></div>
<div class="ttc" id="aclass_g_h_model_html_a80b7f89d0d7dd6bfe078c7aa13102757"><div class="ttname"><a href="class_g_h_model.html#a80b7f89d0d7dd6bfe078c7aa13102757">GHModel::rowCount</a></div><div class="ttdeci">int rowCount(const QModelIndex &amp;parent=QModelIndex()) const</div></div>
<div class="ttc" id="aclass_g_h_model_html_a409b014c8e1eef5d2ff8eae8a716c7b5"><div class="ttname"><a href="class_g_h_model.html#a409b014c8e1eef5d2ff8eae8a716c7b5">GHModel::push_back_pair</a></div><div class="ttdeci">bool push_back_pair(double x, double y, const QModelIndex &amp;parent=QModelIndex())</div></div>
<div class="ttc" id="aclass_g_h_model_html_a4c7d107fd510dbbd8806e661a6d262a2"><div class="ttname"><a href="class_g_h_model.html#a4c7d107fd510dbbd8806e661a6d262a2">GHModel::flags</a></div><div class="ttdeci">Qt::ItemFlags flags(const QModelIndex &amp;index) const</div></div>
<div class="ttc" id="aclass_g_h_model_html_a9e47fdafa7fb4714f534b2a0b6291b01"><div class="ttname"><a href="class_g_h_model.html#a9e47fdafa7fb4714f534b2a0b6291b01">GHModel::m_header</a></div><div class="ttdeci">QStringList m_header</div><div class="ttdoc">заголовки столбцов модели</div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2include_2ghmodel_8h_source.html#l00101">ghmodel.h:101</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_183678fbeee089cc431491ef48af53b7.html">Desktops</a></li><li class="navelem"><a class="el" href="dir_ffb02790d7f1f144fe3d35b54417c8f5.html">Desktop1</a></li><li class="navelem"><a class="el" href="dir_55aaeb8bb53c17700dd585d28461f83a.html">doxy</a></li><li class="navelem"><a class="el" href="dir_61b854c7419c735938733786327d4f1c.html">project</a></li><li class="navelem"><a class="el" href="dir_d335f65c16f5c3997cad18fc0b6ead58.html">include</a></li><li class="navelem"><a class="el" href="_desktops_2_desktop1_2doxy_2project_2include_2ghmodel_8h.html">ghmodel.h</a></li>
    <li class="footer">Документация по Практика. Последние изменения: Ср 12 Июл 2023 16:10:11. Создано системой <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  </ul>
</div>
</body>
</html>
